<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h3>注册页面</h3>
<form action="http://www.tmooc.cn">
    <!--placeholder站位文本 maxlength最大字符长度
    value设置默认值 readonly只读-->
    用户名:<input type="text" name="username"
               placeholder="请输入用户名" maxlength="5"
               value="abc" readonly="readonly"><br>
    密码:<input type="password" name="password"><br>
    <!--checked默认选中 value必须添加 否则提交的是on -->
    性别:<input type="radio" name="gender"
              value="m" id="r1">
    <label for="r1">男</label>
    <input type="radio" checked="checked"
           name="gender" value="w">女<br>
    兴趣爱好:<input type="checkbox" name="hobby"
                value="cy">抽烟
    <input type="checkbox" checked="checked"
           name="hobby" value="hj">喝酒
    <input type="checkbox" name="hobby" value="tt">烫头<br>
    生日:<input type="date" name="birthday"><br>
    靓照:<input type="file" name="pic"><br>
    所在地:<select name="city">
    <option>北京</option>
    <option selected="selected">上海</option>
    <!--value设置提交内容 如果没有则提交标签体内容-->
    <option value="guangzhou">广州</option>
</select><br>
    <input type="reset">
    <input type="submit" value="注册">
    <!--自定义按钮-->
    <input type="button" value="按钮">
    <hr>
    <button type="submit">提交</button>
    <button type="reset">重置</button>
    <button type="button">自定义</button>
</form>
<hr>
<div>div1</div><div>div2</div><div>div3</div>
<span>span1</span><span>span2</span>
<span>span3</span>
</body>
</html>